package lanqiao;

import java.util.ArrayList;
import java.util.List;

public class 货物摆放 {
    public static void main(String[] args) {
        System.out.println(process(2021041820210418L));
    }
    public static int process(long n){
        ArrayList<Long> list = new ArrayList<>();
        for (long i = 1; i <=n/2 ; i++) {
            if (n%i == 0){
                list.add(i);
            }
        }
        int sum =0;
        for (int i = 0; i < list.size(); i++) {
            for (int j = 0; j < list.size(); j++) {
              long m= n/(list.get(i)*list.get(j));
              if (m!=j || m!= i){
                  sum++;
              }
            }
        }
        return sum*list.size();
    }
}
